Adwaita: Some theming for activatable list rows
authorMatthias Clasen <mclasen@redhat.com>
Sun, 13 Jul 2014 13:01:11 +0000 (09:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 13 Jul 2014 13:26:35 +0000 (09:26 -0400)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 09a1c704745ee1bbebfde9ba028abc569e86f968..b7560cccb2a9b05e6f83ab186016cb4ade360c92 100644 (file)
@@ -1913,11 +1913,21 @@ GtkScrolledWindow {
   }
 }
 
+.list-row.button,
 .list-row,
 .grid-child {
+  background-image: none;
+  border-style: none;
+  box-shadow: none;
+  border-width: 0;
   padding: 2px;
 }
 
+.list-row.button:hover {
+  background-color: darken($base_color, 10%);
+}
+
+.list-row.button:selected,
 .list-row:selected {
   background-color: $selected_bg_color;
   color: $selected_fg_color;
index 93ac0f0425558321999d1e6e42b1d516692837a7..acddbd96d202b81acdc9392b4fadec0d46b88403 100644 (file)
@@ -2421,13 +2421,23 @@ GtkScrolledWindow GtkViewport.frame {
     background-color: #2c2c2c;
     border-color: #1e2222; }
 
+.list-row.button,
 .list-row,
 .grid-child {
+  background-image: none;
+  border-style: none;
+  box-shadow: none;
+  border-width: 0;
   padding: 2px; }
 
+.list-row.button:hover {
+  background-color: #101010; }
+
+.list-row.button:selected,
 .list-row:selected {
   background-color: #215d9c;
   color: white; }
+  .list-row.button:selected:backdrop,
   .list-row:selected:backdrop {
     color: #2c2c2c; }
 
index 17b56b1303e96b3a9a0427ed3367de83f4e78bfb..fde3cc18538806e389c0fcee23b1a30e93bde2b8 100644 (file)
@@ -2413,13 +2413,23 @@ GtkScrolledWindow GtkViewport.frame {
     background-color: #fcfcfc;
     border-color: #a8a8a8; }
 
+.list-row.button,
 .list-row,
 .grid-child {
+  background-image: none;
+  border-style: none;
+  box-shadow: none;
+  border-width: 0;
   padding: 2px; }
 
+.list-row.button:hover {
+  background-color: #e6e6e6; }
+
+.list-row.button:selected,
 .list-row:selected {
   background-color: #4a90d9;
   color: white; }
+  .list-row.button:selected:backdrop,
   .list-row:selected:backdrop {
     color: #fcfcfc; }